import request from '@/utils/request'

// 查询任务提交列表
export function listStage_tasks_submit(query) {
  return request({
    url: '/teaching/stage_tasks_submit/list',
    method: 'get',
    params: query
  })
}

// 查询任务提交详细
export function getStage_tasks_submit(taskId) {
  return request({
    url: '/teaching/stage_tasks_submit/' + taskId,
    method: 'get'
  })
}

// 新增任务提交
export function addStage_tasks_submit(data) {
  return request({
    url: '/teaching/stage_tasks_submit',
    method: 'post',
    data: data
  })
}

// 修改任务提交
export function updateStage_tasks_submit(data) {
  return request({
    url: '/teaching/stage_tasks_submit',
    method: 'put',
    data: data
  })
}

// 删除任务提交
export function delStage_tasks_submit(taskId) {
  return request({
    url: '/teaching/stage_tasks_submit/' + taskId,
    method: 'delete'
  })
}
